#ifndef MUTAREPEAT_H
#define MUTAREPEAT_H

#include <MutaObject.h>
#include <QGraphicsLineItem>
#include <iostream>

class MutaRepeat : public MutaObject, public QGraphicsLineItem
{
    Q_OBJECT
public:
    MutaRepeat(QString owner, qreal x, qreal y,int layer);
    virtual void setPos(const QPointF &pos);
    int getLayer();
    QStringList getProperties();
    virtual int type() const;
    inline bool operator<(const MutaRepeat &repeat2);
    //std::ostream& operator<<(std::ostream &out, MutaRepeat &repeat);
;
private:
    void setColor();
    int layer;

protected:
    void mouseMoveEvent( QGraphicsSceneMouseEvent * event );
    QVariant itemChange(GraphicsItemChange change, const QVariant &value);
    //void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
};

#endif // MUTAREPEAT_H
